﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.Serialization;

namespace Server_NhaSach.DataTransferObject
{
    [DataContract]
    public class FormDTO
    {
        #region "Khai báo các biến"
        private string _maForm;
        private string _tenForm;
        #endregion

        #region "Khai báo các thuộc tính"
        [DataMember]
        public string MaForm
        {
            get { return _maForm; }
            set { _maForm = value; }
        }
        [DataMember]
        public string TenForm
        {
            get { return _tenForm; }
            set { _tenForm = value; }
        }
        #endregion

        #region "Khai báo các contructor"
        public FormDTO() { }
        public FormDTO(string maform, string tenform)
        {
            MaForm = maform;
            TenForm = tenform;
        }
        public FormDTO(FormDTO Form)
        {
            this.MaForm = Form.MaForm;
            this.TenForm = Form.TenForm;
        }
        #endregion
    }
}